import {
	mapGetters
} from 'vuex'
export default {
	computed: {
		...mapGetters('my_cart', ['total'])
	},
	onShow() {
		// if(this.total === 0) return 
		uni.setTabBarBadge({
			index: 2,
			text: this.total + ''
		})
	}
}
